const DONE_ROUTES = ['articleId']

export default {
    beforeEach: ({ to, next }) => {
        if (to.name === 'dev') {
            next()
            return
        }
        if (DONE_ROUTES.includes(to.name)) {
            next()
            return
        }
        next('/dev')
    }
}